-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Empty Tests for Examples #5076
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5076 +/- ##
========================================
Coverage 95.53% 95.54%
========================================
Files 317 313 -4
Lines 18349 18210 -139
========================================
- Hits 17530 17398 -132
+ Misses 658 652 -6
+ Partials 161 160 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I was wrong about code coverage, examples are not excluded. Please add hotrod to ignore in |
and yes, add goleak to the test files |
should i remove this also? func TestDummy(t *testing.T) {
// This is a dummy test in the root package.
// Without it `go test -v .` prints "testing: warning: no tests to run".
} |
yes you can remove dummy test |
Signed-off-by: Pushkar Mishra <[email protected]>
Signed-off-by: Pushkar Mishra <[email protected]>
Signed-off-by: Pushkar Mishra <[email protected]>
seems everything is good to go now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@yurishkuro, do we also need goleak tests in examples?
Which problem is this PR solving?
Description of the changes
./examples
to reduce noise inmake nocover
.How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test